﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace XStudio.XCRF.Data.Entities.TongueAndPulse
{
    /// <summary>
    /// 舌脉相基类
    /// </summary>
    public abstract class TongueAndPulseBase
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Guid ID { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        [Column(TypeName = "varchar")]
        [MaxLength(10)]
        public string Name { get; set; }
    }
}
